package com.cook.mapper;

import com.cook.entity.Admin;
import com.cook.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LoginMapper {

    User getUserByNP(String account, String password);

    Long addUser(String account,String password);

    Admin getAdminByNP(String account, String password);

    Long addAdmin(String account,String password);
}
